Usage of protocols as array types and function parameters in swift